package elasticSearch.Entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;


@Data
@Builder
@Document(indexName = "customer")
@AllArgsConstructor
@NoArgsConstructor
public class Customer {
    @Id
    private String ID;
    private String name;
    private String password;
    private String sex;
    private String email;

}
